import React from 'react';
import './index.css';
function BsinBpmnView(props) {
  const { isclose, handlePreviewOfClose, children } = props;
  return (
    <div className="workflow-ui-view-container" style={{ display: isclose }}>
      <div className="workflow-ui-view-close" onClick={handlePreviewOfClose}>
        x
      </div>
      <div className="workflow-ui-view">{children}</div>
    </div>
  );
}

export default BsinBpmnView;
